package com.mit.common.exception;

import java.util.List;

/**
 * The exception occurs when a same record already exists while attempting to
 * insert it. The existing record may be the same on some key fields. For
 * instance, the Firstname and the LastName.
 * 
 * @author River Yu
 * 
 */
public class DuplicateKeyException extends BaseException {


	
	public DuplicateKeyException(String duplicateKey){
		
		super(BaseException.DEFAULT_RESOURCE, "error.common.duplicateKey", new Object[]{duplicateKey} );

	}
	

}
